<?php
	class diemcnbs
	{
		public $MaHocSinh = "";
		public $MaMonHoc = 0;
		
		public $DTB_CN = 0;
	
		public $NamHoc = "";
	
		public function Add()
		{
			$db = new diemcndb();
			return $db->Add($this->MaHocSinh, $this->MaMonHoc, $this->NamHoc, $this->DTB_CN);
		}
		
		public function Delete()
		{
			$db = new diemcndb();
			return $db->Delete($this->MaHocSinh, $this->MaMonHoc, $this->NamHoc);
		}
		
		public function Update()
		{
			$db = new diemcndb();
			return $db->Update($this->MaHocSinh, $this->MaMonHoc, $this->NamHoc, $this->DTB_CN);
		}
			
		public function GetList()
		{
			$db = new diemcndb();
			return $db->GetList($this->MaHocSinh, $this->MaMonHoc, $this->NamHoc, $this->DTB_CN);
		}

		
	}
?>